package com.qf.erp_system.sys.service.impl;

import com.qf.erp_system.common.pojo.sys.TimeFormat;
import com.qf.erp_system.sys.dao.TimeFormatDAO;
import com.qf.erp_system.sys.service.TimeFormatService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
@Service
public class TimeFormatServiceImpl implements TimeFormatService {
    @Resource
    private TimeFormatDAO timeFormatDAO;
    @Override
    public List<TimeFormat> listTimeFormat() {

        return timeFormatDAO.select();
    }

    @Override
    public TimeFormat selectById(Integer id) {

        return timeFormatDAO.selectByPrimaryKey(id);
    }
}
